github.com/refraction-networking/utls.Conn.peerCertificates (field)

17 uses

	github.com/refraction-networking/utls (current package)
		conn.go#L55: 	peerCertificates []*x509.Certificate
		conn.go#L1642: 	state.PeerCertificates = c.peerCertificates
		conn.go#L1700: 	return c.peerCertificates[0].VerifyHostname(host)
		handshake_client.go#L739: 		if !bytes.Equal(c.peerCertificates[0].Raw, certMsg.certificates[0]) {
		handshake_client.go#L749: 		err = keyAgreement.processServerKeyExchange(c.config, hs.hello, hs.serverHello, c.peerCertificates[0], skx)
		handshake_client.go#L799: 	preMasterSecret, ckx, err := keyAgreement.generateClientKeyExchange(c.config, hs.hello, c.peerCertificates[0])
		handshake_client.go#L965: 	c.peerCertificates = hs.session.peerCertificates
		handshake_client.go#L1229: 	c.peerCertificates = certs
		handshake_client_tls13.go#L558: 	c.peerCertificates = hs.session.peerCertificates
		handshake_client_tls13.go#L866: 	if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,
		handshake_server.go#L538: 	c.peerCertificates = sessionState.peerCertificates
		handshake_server.go#L691: 			pub = c.peerCertificates[0].PublicKey
		handshake_server.go#L737: 	if len(c.peerCertificates) > 0 {
		handshake_server.go#L967: 	c.peerCertificates = certs
		handshake_server_tls13.go#L456: 		c.peerCertificates = sessionState.peerCertificates
		handshake_server_tls13.go#L1105: 		if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,
		ticket.go#L299: 		peerCertificates:  c.peerCertificates,